import {
    Entity,
    PrimaryGeneratedColumn,
    Column,
    BeforeInsert
} from 'typeorm';
import * as bcrypt from 'bcryptjs'

@Entity('im_chat_friend_ships') // 指定表名称为 'im_chat_friend_ships'
export class ChatFriendShips {
    @PrimaryGeneratedColumn({ comment: '好友关系id', })
    friendship_id: string;

    @Column({ comment: '用户id', })
    user_id: string;

    @Column({ comment: '好友id', })
    friend_id: string;
}



